//===================================================================================
// $$
//
// Coder: Code Milker v1.0
// 0 - EntityName
// 1 - Properties
//===================================================================================


namespace Mangosoft.DiceCopy.Domain.MainBoundedContext.Aggregates.CompanyAgg {
    using System;
    using System.Collections.Generic;
    using System.ComponentModel.DataAnnotations;
    using Mangosoft.DiceCopy.Domain.Seedwork;

    public class Company : Entity, IValidatableObject {
       #region Members
       #endregion

        #region Properties
       ///<summary>
/// 
///</summary>
public string CompanyName {get;set;}

///<summary>
/// 
///</summary>
public string ShortName {get;set;}

///<summary>
/// 
///</summary>
public string Shortcut {get;set;}

///<summary>
/// 单位(万)
///</summary>
public int? RegisteredCapital {get;set;}

///<summary>
/// 
///</summary>
public string Overview {get;set;}

///<summary>
/// 
///</summary>
public string Business {get;set;}

///<summary>
/// 
///</summary>
public string BusinessLicense {get;set;}

///<summary>
/// 
///</summary>
public string EstablishedOn {get;set;}

///<summary>
/// 
///</summary>
public string Representative {get;set;}

///<summary>
/// 
///</summary>
public int? CompanySizeCode {get;set;}

///<summary>
/// 
///</summary>
public int? CompanyTypeCode {get;set;}

///<summary>
/// 
///</summary>
public int? IndustryCode {get;set;}

///<summary>
/// 
///</summary>
public int ProvinceCode {get;set;}

///<summary>
/// 
///</summary>
public int CityCode {get;set;}

///<summary>
/// 
///</summary>
public string Address {get;set;}

///<summary>
/// 
///</summary>
public string Zip {get;set;}

///<summary>
/// 
///</summary>
public string WebSite {get;set;}

///<summary>
/// 
///</summary>
public bool? IsGroup {get;set;}

///<summary>
/// 
///</summary>
public Guid? ParentId {get;set;}

///<summary>
/// 
///</summary>
public DateTime DateCreated {get;set;}

///<summary>
/// 
///</summary>
public DateTime LastUpdated {get;set;}


        #endregion

        #region Public Methods

         #endregion
	
        #region IValidatableObject Members
        public IEnumerable<ValidationResult> Validate(ValidationContext validationContext) {
            var validationResults = new List<ValidationResult>();

            return validationResults;
        }
        #endregion
    }
}
